package com.oig.sys.workflow;

import com.oig.sys.EnableOigJpaAuditing;
import com.oig.sys.security.EnableOauthResourceServer;
import com.oig.sys.swagger.EnableSwaggerOpenApi;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;


/**
 * 改为自动化处理服务
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableOauthResourceServer
@EnableSwaggerOpenApi
@EnableFeignClients(basePackages = {"com.oig.sys.log","com.oig.sys.msg.api","com.oig.oauth.api"})
@EnableOigJpaAuditing
public class SysFlowApplication {

    public static void main(String[] args) {
        SpringApplication.run(SysFlowApplication.class, args);
    }

}
